home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell,comp.lang.c
- Path: news.dcs.warwick.ac.uk!not-for-mail
- From: A.Main@dcs.warwick.ac.uk (Zefram)
- Subject: Re: slowing it down
- X-Nntp-Posting-Host: stone
- Message-ID: <1996Jan29.044151.2763@dcs.warwick.ac.uk>
- Sender: news@dcs.warwick.ac.uk (Network News)
- Organization: Department of Computer Science, Warwick University, England
- References: <4ebh99$5q9@monmouth.edu>
- Date: Mon, 29 Jan 1996 04:41:51 GMT
-
- RAJIV RODRIGUES <s0213031@moncol.monmouth.edu> wrote:
- >I ran a simple 'cat' on a DEC ALPHA (Digital Unix) to display a long (!) file.
- >I'm looking for some way to slow down ( not a pager ) the listing, so that
- >it scrolls at a comfortable speed. I tried a 'nice' at lowest priority with
- >no discernable effect.
-
- #!/bin/sh
- while read foo; do
- echo "$foo"
- sleep 1
- done
-
- -zefram
-